package com.sec.etech.bpm.plugin.nodecontrol.executer;

import com.sec.etech.bpm.plugin.nodecontrol.def.EtechNodeControlPluginDef;
import org.openbpm.bpm.engine.plugin.runtime.abstact.AbstractUserCalcPlugin;
import org.openbpm.bpm.engine.plugin.session.BpmUserCalcPluginSession;
import org.openbpm.sys.api.model.SysIdentity;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class EtechNodeControlPluginExecutor extends AbstractUserCalcPlugin<EtechNodeControlPluginDef> {
    @Override
    protected List<SysIdentity> queryByPluginDef(BpmUserCalcPluginSession bpmUserCalcPluginSession, EtechNodeControlPluginDef etechNodeControlPluginDef) {

        // 节点控制编号
        String nodeControl = etechNodeControlPluginDef.getNodeControl();

        // TODO 节点控制编号定制逻辑

        return null;
    }
}
